import defaultHttp from "@/utils/request.js";
// 管理员登录
export const login = (data) => {
  return defaultHttp({
    url: "/admin/login",
    method: "post",
    data,
  });
};
// 管理员修改密码
export const adminEdit = (data) => {
  return defaultHttp({
    url: "/admin/edit",
    method: "post",
    data,
  });
};
